#ifndef __S3_IRQ_H__
#define __S3_IRQ_H__

#ifdef __cplusplus
extern "C" {
#endif

#define S3_IRQ_UART0			(32)
#define S3_IRQ_UART1			(33)
#define S3_IRQ_UART2			(34)
#define S3_IRQ_I2C0				(38)
#define S3_IRQ_I2C1				(39)
#define S3_IRQ_GPIOB			(47)
#define S3_IRQ_GPIOG			(49)
#define S3_IRQ_TIMER0			(50)
#define S3_IRQ_TIMER1			(51)
#define S3_IRQ_TIMER2			(52)
#define S3_IRQ_WDOG				(57)
#define S3_IRQ_AUDIO			(61)
#define S3_IRQ_KEYADC			(62)
#define S3_IRQ_ENMI				(64)
#define S3_IRQ_R_ALARM0			(72)
#define S3_IRQ_R_ALARM1			(73)
#define S3_IRQ_DMA				(82)
#define S3_IRQ_HSTIMER0			(83)
#define S3_IRQ_HSTIMER1			(84)
#define S3_IRQ_VE				(90)
#define S3_IRQ_SDMMC0			(92)
#define S3_IRQ_SDMMC1			(93)
#define S3_IRQ_SDMMC2			(94)
#define S3_IRQ_SPI0				(97)
#define S3_IRQ_USB_OTG_DEVICE	(103)
#define S3_IRQ_USB_OTG_EHCI0	(104)
#define S3_IRQ_USB_OTG_OHCI0	(105)
#define S3_IRQ_CE				(112)
#define S3_IRQ_EMAC				(114)
#define S3_IRQ_CSI0				(115)
#define S3_IRQ_CSI1				(116)
#define S3_IRQ_CSI_CCI			(117)
#define S3_IRQ_TCON				(118)
#define S3_IRQ_MIPI_CSI			(122)
#define S3_IRQ_DE				(127)
#define S3_IRQ_GPU_GP			(129)
#define S3_IRQ_GPU_CTI0			(140)
#define S3_IRQ_GPU_CTI1			(141)
#define S3_IRQ_GPU_CTI2			(142)
#define S3_IRQ_GPU_CTI3			(143)
#define S3_IRQ_GPU_COMMTX0		(144)
#define S3_IRQ_GPU_COMMTX1		(145)
#define S3_IRQ_GPU_COMMTX2		(146)
#define S3_IRQ_GPU_COMMTX3		(147)
#define S3_IRQ_GPU_COMMRX0		(148)
#define S3_IRQ_GPU_COMMRX1		(149)
#define S3_IRQ_GPU_COMMRX2		(150)
#define S3_IRQ_GPU_COMMRX3		(151)
#define S3_IRQ_GPU_PMU0			(152)
#define S3_IRQ_GPU_PMU1			(153)
#define S3_IRQ_GPU_PMU2			(154)
#define S3_IRQ_GPU_PMU3			(155)
#define S3_IRQ_GPU_AXI			(156)

#define S3_IRQ_GPIOB0			(160)
#define S3_IRQ_GPIOB1			(161)
#define S3_IRQ_GPIOB2			(162)
#define S3_IRQ_GPIOB3			(163)
#define S3_IRQ_GPIOB4			(164)
#define S3_IRQ_GPIOB5			(165)
#define S3_IRQ_GPIOB6			(166)
#define S3_IRQ_GPIOB7			(167)
#define S3_IRQ_GPIOB8			(168)
#define S3_IRQ_GPIOB9			(169)
#define S3_IRQ_GPIOB10			(170)
#define S3_IRQ_GPIOB11			(171)
#define S3_IRQ_GPIOB12			(172)
#define S3_IRQ_GPIOB13			(173)

#define S3_IRQ_GPIOG0			(192)
#define S3_IRQ_GPIOG1			(193)
#define S3_IRQ_GPIOG2			(194)
#define S3_IRQ_GPIOG3			(195)
#define S3_IRQ_GPIOG4			(196)
#define S3_IRQ_GPIOG5			(197)
#define S3_IRQ_GPIOG6			(197)
#define S3_IRQ_GPIOG7			(198)
#define S3_IRQ_GPIOG8			(199)
#define S3_IRQ_GPIOG9			(200)
#define S3_IRQ_GPIOG10			(201)
#define S3_IRQ_GPIOG11			(202)
#define S3_IRQ_GPIOG12			(203)
#define S3_IRQ_GPIOG13			(204)

#ifdef __cplusplus
}
#endif

#endif /* __S3_IRQ_H__ */
